package com.linked.basemanage.deletebak.service.impl;

import com.linked.basemanage.deletebak.bean.po.DeleteBakPO;
import com.linked.basemanage.deletebak.mapper.IDeleteBakMapper;
import com.linked.basemanage.deletebak.service.IDeleteBakService;
import org.springframework.stereotype.Service;

/**
 * @author Bluerain
 * @version 1.0
 * @data 2024/12/31 9:16
 * @describe todo
 */
@Service
public class DeleteBakServiceIMPL implements IDeleteBakService {

    private final IDeleteBakMapper deleteBakMapper;

    public DeleteBakServiceIMPL(IDeleteBakMapper deleteBakMapper) {
        this.deleteBakMapper = deleteBakMapper;
    }

    @Override
    public Boolean insertDeleteBak(DeleteBakPO deleteBakPO) {
        return deleteBakMapper.insert(deleteBakPO) > 0;
    }
}
